package com.ndp.fb.rdb.api;


import com.ndp.fb.rdb.model.AdPublishAppAccountCPA;

import java.io.Serializable;

/**
 * Created by Evan on 2015/1/12 22:52.
 * Email evan.wan@ndpmedia.com
 */
public interface AdPublishAppAccountCPARdbService extends Serializable {

    AdPublishAppAccountCPA getCPA(Long connectionObjectId, Long productConfigurationId, Long fbAccountId);


    void saveCPANoUser(AdPublishAppAccountCPA cpa);

    void updateCPA(AdPublishAppAccountCPA cpa);
    
    void updateCPANoUser(AdPublishAppAccountCPA cpa);
    
    void saveOrUpdateCPANoUser(AdPublishAppAccountCPA cpa);

}
